-- GENERATED SPELL FOR [Bloodpetal Trapper] --


function spell0_6512(pUnit, Event) --@Entangling Roots,n/a--
pUnit:FullCastSpellOnTarget(11922,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6512', 16500, 1)
end

function Sorts_6512(pUnit, Event)
local choix_sorts_6512 = math.random(0, 0)
if choix_sorts_6512 == 0 then
pUnit:RegisterEvent('spell0_6512', 1, 1)
end
end

function mob6512_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6512', math.random(1500, 3000), 1)
end

function mob6512_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6512_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6512_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6512, 1, 'mob6512_Action')
RegisterUnitEvent(6512, 2, 'mob6512_Leave')
RegisterUnitEvent(6512, 3, 'mob6512_Kill')
RegisterUnitEvent(6512, 4, 'mob6512_Die')
